<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
	<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>
      Type Hierarchy View
    </title>
    <link rel="stylesheet" href="../../book.css" charset="ISO-8859-1" type="text/css"/>
  </head>
  <body>
    <h1>
      Type Hierarchy View
    </h1>
    <p>
      This view shows the hierarchy of a type. The Type Hierarchy view consists of two panes:
    </p>
    <ul>
      <li>
        Type Hierarchy tree pane
      </li>
      <li>
        Member list pane (optional)
      </li>
    </ul>
    <h2 class="Head">
      Type Hierarchy tree pane toolbar buttons
    </h2>
    <p>
    The type hierarchy tree shows supertypes, suptypes or both of a given type depending on the selection made in the
    toolbar.
    </p>
    <table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Hierarchy viewer">
      <thead>
        <tr>
          <th>
            <p>
              Command
            </p>
          </th>
          <th>
            <p>
              Name
            </p>
          </th>
          <th>
            <p>
              Description
            </p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td valign="top">
              <img src="../../images/org.eclipse.jdt.ui/elcl16/history_list.svg" alt="Previous Hierarchy Inputs"/>
          </td>
          <td valign="top">
            <p>
              Previous Hierarchy Inputs
            </p>
          </td>
          <td valign="top">
            <p>
              This menu displays a history of previously displayed type hierarchies.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/hierarchy_co.svg" alt="Show the Type Hierarchy"/>
          </td>
          <td valign="top">
            <p>
              Show the Type Hierarchy
            </p>
          </td>
          <td valign="top">
            <p>
              This command displays the type in its full context (i.e., superclasses and subclasses) in the Type Hierarchy view. To see for which type the hierarchy is shown, hover
              over the view title (e.g., &quot;Types&quot;).
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/super_co.svg" alt="Show the Supertype Hierarchy"/>
          </td>
          <td valign="top">
            <p>
              Show the Supertype Hierarchy
            </p>
          </td>
          <td valign="top">
            <p>
              This command displays the supertypes and the hierarchy of all implemented interfaces of the type in the Type Hierarchy view. The tree starts at the selected type and
              displays the result of traversing up the hierarchy.
            </p>
             <em>Note: The selected type is always at the top level, in the upper-left corner.</em>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/sub_co.svg" alt="Show the Subtype Hierarchy"/>
          </td>
          <td valign="top">
            <p>
              Show the Subtype Hierarchy
            </p>
          </td>
          <td valign="top">
            <p>
              This command displays the subtypes of the selected class and/or all implementors of the interface in the Type Hierarchy view. The tree starts at the selected type and
              displays the result of traversing down the hierarchy
            </p>
             <em>Note: The selected type is always at the top level, in the upper-left corner.</em>
          </td>
        </tr>
        <tr>
          <td valign="top">
            &nbsp;
          </td>
          <td valign="top">
            <p>
              Layout &gt; Hierarchy View Only
            </p>
          </td>
          <td valign="top">
            <p>
              Hides the member list pane.
            </p>
          </td>
        </tr>
      </tbody>
    </table>
    <h2 class="Head">
      Member list pane toolbar buttons
    </h2>
    <p>
      The member list pane displays the members of the currently selected type in the type hierarchy tree pane.
    </p>
    <table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Member viewer">
      <thead>
        <tr>
          <th>
            <p>
              Command
            </p>
          </th>
          <th>
            <p>
              Name
            </p>
          </th>
          <th>
            <p>
              Description
            </p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/impl_co.svg" alt="Lock View and Show Members in Hierarchy"/>
          </td>
          <td valign="top">
            <p>
              Lock View and Show Members in Hierarchy
            </p>
          </td>
          <td valign="top">
            <p>
              Shows the members implementing the selected method Only types implementing the method are shown.
            </p>
            <p>
              When the view is locked, the member list pane no longer tracks the selection in the hierarchy pane above.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/inher_co.svg" alt="Show All Inherited Members"/>
          </td>
          <td valign="top">
            <p>
              Show All Inherited Members
            </p>
          </td>
          <td valign="top">
            <p>
              Shows or hides all methods and fields inherited by base classes. When this option is set, the name of the type that defines the method is appended to the method
              name.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/definingtype_sort_co.svg" alt="Sort Members by the Defining Type"/>
          </td>
          <td valign="top">
            <p>
              Sort Members by the Defining Type
            </p>
          </td>
          <td valign="top">
            <p>
              Sorts the members according to the type in which they are defined.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/fields_co.svg" alt="Hide Fields"/>
          </td>
          <td valign="top">
            <p>
              Hide Fields
            </p>
          </td>
          <td valign="top">
            <p>
              Shows or hides the fields.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/static_co.svg" alt="Hide Static Fields and Methods"/>
          </td>
          <td valign="top">
            <p>
              Hide Static Fields and Methods
            </p>
          </td>
          <td valign="top">
            <p>
              Shows or hides the static fields and methods.
            </p>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <img src="../../images/org.eclipse.jdt.ui/elcl16/public_co.svg" alt="Hide Non-Public Members"/>
          </td>
          <td valign="top">
            <p>
              Hide Non-Public Members
            </p>
          </td>
          <td valign="top">
            <p>
              Shows or hides the non-public fields and methods.
            </p>
          </td>
        </tr>
      </tbody>
    </table>

    <h3 class="related">Related concepts</h3>
      <a href="../../concepts/concept-java-views.htm">Java views</a>

    <h3 class="related">Related references</h3>
      <a href="ref-viewsandeditors.htm">Views and editors</a>
  </body>
</html>

